<template>
    {{todoLength.value}}
    <child-inject-test-2></child-inject-test-2>
</template>

<script lang="ts">
    import {defineComponent} from 'vue'
    import ChildInjectTest2 from './ChildInjectTest2.vue'

    export default defineComponent({
        components: { ChildInjectTest2 },
        name: 'ChildInjectTest',
        inject: ['todoLength']
    })
</script>